package com.jy.api.dao;import com.jy.api.domain.MemberAccountTransaction;import com.jy.api.domain.MemberAccountTransactionType;import org.springframework.data.repository.CrudRepository;public interface MemberAccountTransactionDao extends CrudRepository<MemberAccountTransaction, String> {    MemberAccountTransaction findByPaymentIdAndTypeAndEnabled(String paymentId,                                                              MemberAccountTransactionType type, Boolean enabled);    MemberAccountTransaction findByOrderIdAndTypeAndEnabled(String orderId,                                                            MemberAccountTransactionType type, Boolean enabled);    MemberAccountTransaction findOneByPaymentId(String paymentId);    MemberAccountTransaction findOneByOrderId(String orderId);}